#pragma once

#include <boost/function.hpp>

namespace liba {

class Synchronizer
{
public:
	virtual void Synchronize(const boost::function<void ()>& fn) = 0;
	virtual void Schedule(const boost::function<void ()>& fn) = 0;
protected:
	~Synchronizer() { }
};

} // namespace liba